package lab02.test35;

public class Test {

    public static void main(String[] args) {
        Manager manager = new Manager();
        manager.salary = 4000;

        Salesman salesman = new Salesman();

        salesman.salary = 2500;
        salesman.increSalary = 2000;
        salesman.incres = 0.2;

        Worker worker = new Worker();
        worker.days = 25;
        worker.daySalary = 100;

        System.out.println("经理的工资为：" + manager.computeSalary());
        System.out.println("销售人员的工资为:" + salesman.computeSalary());
        System.out.println("工人的工资为:" + worker.computeSalary());
    }

}

